<?php 
	include_once 'thuvienham.php';
	include_once 'log_db.php';

	class log_bs 
	{
		//------------------Fields [2]------------------
			// #0
		private $MaNguoiDung = "";
		public function SetMaNguoiDung($MaNguoiDung) { $this->MaNguoiDung = $MaNguoiDung; }
		public function GetMaNguoiDung() { return $this->MaNguoiDung; }
			// #1
		private $ThoiGian = "0000-00-00 00:00:00";
		public function SetThoiGian($ThoiGian) { $this->ThoiGian = $ThoiGian; }
		public function GetThoiGian() { return $this->ThoiGian; }

		//------------------Method------------------
		public function Them()
		{
			$data = new log_db();
			return $data->Them($this->MaNguoiDung, $this->ThoiGian);
		}

		public function Xoa()
		{
			$data = new log_db();
			return $data->Xoa($this->MaNguoiDung);
		}

		public function CapNhat()
		{
			$data = new log_db();
			return $data->CapNhat($this->MaNguoiDung, $this->ThoiGian);
		}

		public function LayDanhSach()
		{
			$data = new log_db();
			return $data->LayDanhSach($this->MaNguoiDung, $this->ThoiGian);
		}

	}

